Programming with Aspectual Components
نویسنده
چکیده
Aspect-oriented programming (AOP) controls tangling of concerns by isolating aspects that cross-cut each other into building blocks. Component-based programming (CBP) supports software development by isolating reusable building blocks that can be assembled and connected in many different ways. We show how AOP and CBP can be integrated by introducing a new component construct for programming class collaborations, called aspectual component. Aspectual components extend adaptive plug-and-play components (AP&P) with a modification interface that turns them into an effective tool for AOP. A key ingredient of aspectual components is that they are written in terms of a generic data model, called a participant graph, which is later mapped into a data model. We introduce a new property of this map, called instance-refinement, to ensure the proper deployment of components. We show how aspectual components can be implemented in Java, and demonstrate that aspectual components improve the AspectJ language for AOP from Xerox PARC.
منابع مشابه
Connectors for Reusable Aspects
Aspect oriented programming AOP controls tangling of concerns by isolating aspects that cross cut each other into building blocks Component based programming CBP supports software development by isolating reusable building blocks that can be assembled and connected in many di erent ways We show how AOP and CBP can be integrated by introducing a new component construct for programming class coll...
متن کاملAspect-Oriented Programming with Aspectual Methods
We use Gregor Kiczales' de nition of an aspect: a modular unit of crosscutting implementation and present a useful kind of aspect-oriented programming in Java. By focussing on a limited, but commonly occuring set of aspects, we are able to provide the Java library DJ that allows us to write aspectual methods whose ad-hoc implementation cuts across several classes. An aspectual method is evaluat...
متن کاملAspectual Shift as Type Coercion Draft 1
The phenomenon of aspectual shift has been discussed by several people over the last ten years using an analogy with type coercion in programming languages. This paper tries to take the analogy literally and to spell out the details for an analysis of some common kinds of aspectual shift in English under the innuence of some types of temporal modiication. A model theoretic basis for this kind o...
متن کاملAspectual Shift as Type Coercion1
The phenomenon of aspectual shift has been discussed by several people over the last ten years using an analogy with type coercion in programming languages. This paper tries to take the analogy literally and to spell out the details for an analysis of some common kinds of aspectual shift in English under the influence of some types of temporal modification. A model theoretic basis for this kind...
متن کاملTemporal reasoning with aspectual adverbials
This paper' presents an analysis of dynamic temporal reasoning with Dutch adverbials of aspectual focus. The crucial property of focus constructions is the inherent opposition between the actual value for a given parameter and the possible alternatives in the speaker's expectation. The dynamic perspective tries to account for the fact that when new information is added, certain components are u...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
دوره شماره
صفحات -
تاریخ انتشار 1999